package com.jld.managerialsystemforcovid19.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jld.managerialsystemforcovid19.entity.Covid19Data;
import com.jld.managerialsystemforcovid19.entity.LineTrend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IndexMapper extends BaseMapper<Covid19Data> {
    @Select("select * from line_trend limit 7")
    List<LineTrend> findSevenData();
}
